package com.liohi.AllEunm;

import lombok.Getter;

public enum RoleCode {
    admin(1, "管理员"),
    teacher(2, "教师"),
    tourist(5, "游客"),
    user(3, "用户"),
    ;
    @Getter
    int code;
    @Getter
    String role;

    RoleCode(int code, String role) {
        this.code = code;
        this.role = role;
    }


}
